﻿<!DOCTYPE html>
<html>
<head>
<%
    include("/static/include/title.html"){}
    include("/static/include/css.html"){}
    include("/static/include/js.html"){}
%>
</head>

<body>
<div class="layui-fluid">
	<form id="fView" class="layui-form" onsubmit="return false" action="##">
		<input type="hidden" id="dialogId" name="dialogId" value="${parameter.dialogId}"/>
		
  		<div class="layui-card">
			<!-- 如需要header信息，放开下面的comment -->
			<!-- <div class="layui-card-header">基础信息</div> -->
			<div class="layui-card-body" style="padding: 15px;">
				<!-- 如一行显示多列数据，参照下面的示例 -->
				<!-- 
				<div class="layui-form-item">
					<div class="layui-inline">
						<label class="layui-form-label">属性1：</label>
						<div class="layui-input-inline">属性1对应数值</div>
					</div>
					<div class="layui-inline">
						<label class="layui-form-label">属性2：</label>
						<div class="layui-input-inline">属性1对应数值</div>
					</div>
				</div>
				-->

				<div class="layui-form-item">
					<label class="layui-form-label">商户名称：</label>
					<div class="layui-input-block layui-form-mid">${@team.bangbang.common.utility.LogicUtility.getHTMLString(partner.partnerName)}</div>
				</div>
	  
				<div class="layui-form-item">
					<div class="layui-inline">
						<label class="layui-form-label">联系人：</label>
						<div class="layui-input-inline layui-form-mid">${@team.bangbang.common.utility.LogicUtility.getHTMLString(partner.contactPerson)}</div>
					</div>
		  
					<div class="layui-inline">
						<label class="layui-form-label">联系电话：</label>
						<div class="layui-input-inline layui-form-mid">${@team.bangbang.common.utility.LogicUtility.getHTMLString(partner.phone)}</div>
					</div>
				</div>
				
				<div class="layui-form-item">
					<div class="layui-inline">
						<label class="layui-form-label">电子信箱：</label>
						<div class="layui-input-inline layui-form-mid">${@team.bangbang.common.utility.LogicUtility.getHTMLString(partner.email)}</div>
					</div>
	
					<div class="layui-inline">
						<label class="layui-form-label">是否有效：</label>
						<div class="layui-input-inline layui-form-mid">
							<% if(partner.activeFlag != null && partner.activeFlag) {%>有效<%}%>
							<% if(partner.activeFlag != null && !partner.activeFlag) {%>禁用<%}%>
						</div>
					</div>
				</div>
	  
				<div class="layui-form-item">
					<label class="layui-form-label">创建时间：</label>
					<div class="layui-input-inline layui-form-mid">${partner.createTime, "yyyy-MM-dd HH:ss"}</div>
				</div>
			</div>
		</div>
	</form>
</div>
</body>
<script>
	layui.use(['form'], function(){
        var form  = layui.form;
        
        // 渲染表单radio、select、checkbox
        form.render();
    });
</script>
</html>
